package com.ny.dao;

import com.ny.entity.Order;
import java.sql.SQLException;
import java.util.List;

public interface OrderDao {
    List<Order> findAllOrder() throws SQLException;

    int addOrder(Order order) throws SQLException,  ClassNotFoundException;

    int deleteOrder(int orderId) throws SQLException;

    int updateOrder(Order order) throws SQLException;
}
